package cn.xiyun.xiyuncc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("cn.xiyun.xiyuncc.mapper")
// 开启SpringCache
@EnableCaching
public class MediaStart {
    public static void main(String[] args) {
        SpringApplication.run(MediaStart.class);
    }
}